/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Respiratory Rehabilitativeand Restorative Service Providers Provider Codes Member6</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * @see org.hl7.v3.V3Package#getRespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6()
 * @model extendedMetaData="name='RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodes_._member_._6'"
 * @generated
 */
public enum RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6 implements Enumerator {
	/**
	 * The '<em><b>220000000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_220000000X_VALUE
	 * @generated
	 * @ordered
	 */
	_220000000X(0, "_220000000X", "220000000X"),

	/**
	 * The '<em><b>221700000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_221700000X_VALUE
	 * @generated
	 * @ordered
	 */
	_221700000X(1, "_221700000X", "221700000X"),

	/**
	 * The '<em><b>225600000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225600000X_VALUE
	 * @generated
	 * @ordered
	 */
	_225600000X(2, "_225600000X", "225600000X"),

	/**
	 * The '<em><b>226300000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_226300000X_VALUE
	 * @generated
	 * @ordered
	 */
	_226300000X(3, "_226300000X", "226300000X"),

	/**
	 * The '<em><b>225700000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225700000X_VALUE
	 * @generated
	 * @ordered
	 */
	_225700000X(4, "_225700000X", "225700000X"),

	/**
	 * The '<em><b>225A00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225A00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_225A00000X(5, "_225A00000X", "225A00000X"),

	/**
	 * The '<em><b>224Z00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_224Z00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_224Z00000X(6, "_224Z00000X", "224Z00000X"),

	/**
	 * The '<em><b>225000000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225000000X_VALUE
	 * @generated
	 * @ordered
	 */
	_225000000X(7, "_225000000X", "225000000X"),

	/**
	 * The '<em><b>222Z00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_222Z00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_222Z00000X(8, "_222Z00000X", "222Z00000X"),

	/**
	 * The '<em><b>225200000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225200000X_VALUE
	 * @generated
	 * @ordered
	 */
	_225200000X(9, "_225200000X", "225200000X"),

	/**
	 * The '<em><b>224P00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_224P00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_224P00000X(10, "_224P00000X", "224P00000X"),

	/**
	 * The '<em><b>225B00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225B00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_225B00000X(11, "_225B00000X", "225B00000X"),

	/**
	 * The '<em><b>225800000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225800000X_VALUE
	 * @generated
	 * @ordered
	 */
	_225800000X(12, "_225800000X", "225800000X"),

	/**
	 * The '<em><b>225400000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225400000X_VALUE
	 * @generated
	 * @ordered
	 */
	_225400000X(13, "_225400000X", "225400000X");

	/**
	 * The '<em><b>220000000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>220000000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_220000000X
	 * @model literal="220000000X"
	 * @generated
	 * @ordered
	 */
	public static final int _220000000X_VALUE = 0;

	/**
	 * The '<em><b>221700000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>221700000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_221700000X
	 * @model literal="221700000X"
	 * @generated
	 * @ordered
	 */
	public static final int _221700000X_VALUE = 1;

	/**
	 * The '<em><b>225600000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225600000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225600000X
	 * @model literal="225600000X"
	 * @generated
	 * @ordered
	 */
	public static final int _225600000X_VALUE = 2;

	/**
	 * The '<em><b>226300000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>226300000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_226300000X
	 * @model literal="226300000X"
	 * @generated
	 * @ordered
	 */
	public static final int _226300000X_VALUE = 3;

	/**
	 * The '<em><b>225700000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225700000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225700000X
	 * @model literal="225700000X"
	 * @generated
	 * @ordered
	 */
	public static final int _225700000X_VALUE = 4;

	/**
	 * The '<em><b>225A00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225A00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225A00000X
	 * @model literal="225A00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _225A00000X_VALUE = 5;

	/**
	 * The '<em><b>224Z00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>224Z00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_224Z00000X
	 * @model literal="224Z00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _224Z00000X_VALUE = 6;

	/**
	 * The '<em><b>225000000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225000000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225000000X
	 * @model literal="225000000X"
	 * @generated
	 * @ordered
	 */
	public static final int _225000000X_VALUE = 7;

	/**
	 * The '<em><b>222Z00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>222Z00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_222Z00000X
	 * @model literal="222Z00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _222Z00000X_VALUE = 8;

	/**
	 * The '<em><b>225200000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225200000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225200000X
	 * @model literal="225200000X"
	 * @generated
	 * @ordered
	 */
	public static final int _225200000X_VALUE = 9;

	/**
	 * The '<em><b>224P00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>224P00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_224P00000X
	 * @model literal="224P00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _224P00000X_VALUE = 10;

	/**
	 * The '<em><b>225B00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225B00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225B00000X
	 * @model literal="225B00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _225B00000X_VALUE = 11;

	/**
	 * The '<em><b>225800000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225800000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225800000X
	 * @model literal="225800000X"
	 * @generated
	 * @ordered
	 */
	public static final int _225800000X_VALUE = 12;

	/**
	 * The '<em><b>225400000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225400000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225400000X
	 * @model literal="225400000X"
	 * @generated
	 * @ordered
	 */
	public static final int _225400000X_VALUE = 13;

	/**
	 * An array of all the '<em><b>Respiratory Rehabilitativeand Restorative Service Providers Provider Codes Member6</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6[] VALUES_ARRAY =
		new RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6[] {
			_220000000X,
			_221700000X,
			_225600000X,
			_226300000X,
			_225700000X,
			_225A00000X,
			_224Z00000X,
			_225000000X,
			_222Z00000X,
			_225200000X,
			_224P00000X,
			_225B00000X,
			_225800000X,
			_225400000X,
		};

	/**
	 * A public read-only list of all the '<em><b>Respiratory Rehabilitativeand Restorative Service Providers Provider Codes Member6</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Respiratory Rehabilitativeand Restorative Service Providers Provider Codes Member6</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6 get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6 result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Respiratory Rehabilitativeand Restorative Service Providers Provider Codes Member6</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6 getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6 result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Respiratory Rehabilitativeand Restorative Service Providers Provider Codes Member6</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6 get(int value) {
		switch (value) {
			case _220000000X_VALUE: return _220000000X;
			case _221700000X_VALUE: return _221700000X;
			case _225600000X_VALUE: return _225600000X;
			case _226300000X_VALUE: return _226300000X;
			case _225700000X_VALUE: return _225700000X;
			case _225A00000X_VALUE: return _225A00000X;
			case _224Z00000X_VALUE: return _224Z00000X;
			case _225000000X_VALUE: return _225000000X;
			case _222Z00000X_VALUE: return _222Z00000X;
			case _225200000X_VALUE: return _225200000X;
			case _224P00000X_VALUE: return _224P00000X;
			case _225B00000X_VALUE: return _225B00000X;
			case _225800000X_VALUE: return _225800000X;
			case _225400000X_VALUE: return _225400000X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //RespiratoryRehabilitativeandRestorativeServiceProvidersProviderCodesMember6
